<local:DocumentBase x:Class="WPFExcelReport.UBTFQI03E"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
                     xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBBST"  
                    xmlns:AM="clr-namespace:WPFExcelReport;assembly=TAMSTAMM"  
                    xmlns:HR="clr-namespace:WPFExcelReport;assembly=THRSTAMM" 
                    Name="TV"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </local:DocumentBase.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <AM:TSBDE Name="cAM" Grid.Row="0" Grid.RowSpan="2"
                  IsShift="False"
                   Visibility="{Binding IsMachineReady,ElementName=cAM,Converter={StaticResource nbv}}"
                  IsMachineReady="False" />
        <WB:TRFWB08 Grid.Row="1" 
                   Name="cQI03"
                   SLO="01"
                   SLB="YB" 
                   LO="01"
                   LB="CP" 
                   LP="01     " 
                   PRTYPE="JLTWBD10IT"
                   Visibility="{Binding IsMachineReady,ElementName=cAM,Converter={StaticResource bv}}"
                   IsMachineReady="{Binding IsMachineReady,ElementName=cAM}"
                  MACHINEID="{Binding KEY,ElementName=cAM}"
            />
        <WrapPanel Grid.Row="2"> 
           <!-- <AM:TCOMYBJ Visibility="Collapsed"
                DevTyp="XK31"
                COMn="COM7"
                CBaudRate="9600"
                CStopBits="1"
                CDataBits="8"
                CParity="0"
                QTY="{Binding CKG,ElementName=cQI03}"/>-->
            <HR:THR20QI EXAUF="{Binding CUSER,ElementName=cQI03}"/>
        </WrapPanel>
    </Grid>
</local:DocumentBase>
    
